<?php

declare (strict_types=1);
/*
 * This file is part of Leonsw.
 *
 * @link     https://leonsw.com
 * @document https://docs.leonsw.com
 * @contact  leonsw.com@gmail.com
 * @license  https://leonsw.com/LICENSE
 */
namespace App\Models\MainDB\BlindBox;

use Illuminate\Database\Eloquent\Model;
/**
 * @property int $id
 * @property int $notify_coin 
 * @property int $broadcast_coin 
 * @property int $score_value
 * @property int $is_open
 * @property int $special_prize_coin
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class Setting extends Model
{
    protected $table = 'ln_blind_box_setting';
    //protected $fillable = [];
    protected $guarded = [];
    protected $casts = ['id' => 'int', 'min_score' => 'integer', 'max_score' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'show_max_score' => 'integer', 'is_base' => 'integer'];

    public function getDateFormat()
    {
        return 'Y-m-d H:i:s.u';
    }

}